package com.zhubayi.springcloud.service;

import com.zhubayi.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zhubayi
 */
public interface PaymentService {
    int create(Payment payment);

    Payment getPaymentById(Long id);

    List<Payment> findAll();
}
